//
//  CustomCollectionViewCell.m
//  19-JSON
//
//  Created by dllo on 16/8/9.
//  Copyright © 2016年 ZHW. All rights reserved.
//

#import "CustomCollectionViewCell.h"
#import "Model.h"
#import "NewsModel.h"
@interface CustomCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@end
@implementation CustomCollectionViewCell

- (void)setModel:(Model *)model {
    _model = model;
    _titleLabel.text = model.title;
}

- (void)setNewsModel:(NewsModel *)newsModel {
    _newsModel = newsModel;
    _titleLabel.text = newsModel.tname;
}

@end
